<div style="padding-top: 10px; padding-bottom: 10px; overflow: auto; max-height: 99%">
    <div style="float: left">
        <span>Có <b><?php echo $count_total; ?></b> bình luận được tìm thấy</span> |
        <b>Hiển thị:</b>
        <select name="record_per_page" class="record_per_page" <?php if (isset($related)) :?>onchange="return admin_cms_comment.act_filter_related('filter_related_list')"<?php endif; ?>>
            <?php foreach ($rpps as $option) :?>
            <option value="<?php echo $option; ?>" <?php if ($record_per_page == $option) :?>selected="selected"<?php endif; ?>><?php echo $option; ?></option>
            <?php endforeach; ?>
        </select>
        Kết quả/Trang&nbsp;
    </div>
    <div class="paginator br">
        <ul>
            <li><a onclick="admin_cms_comment.first_page(); <?php if (isset($related)) :?>return admin_cms_comment.act_filter_related('filter_related_list');<?php else :?>return false;<?php endif; ?>">Đầu</a></li>
            <li><a onclick="admin_cms_comment.prev_page(); <?php if (isset($related)) :?>return admin_cms_comment.act_filter_related('filter_related_list');<?php else :?>return false;<?php endif; ?>">Trước đó</a></li>
            <?php for ($index = $paginator['lower']; $index <= $paginator['upper']; $index++) :?>
            <li <?php if ($index == $current_page) :?>class="current"<?php endif; ?>><a onclick="admin_cms_comment.go_page(this); <?php if (isset($related)) :?>return admin_cms_comment.act_filter_related('filter_related_list');<?php else :?>return false;<?php endif; ?>"><?php echo $index; ?></a></li>
            <?php endfor; ?>
            <li><a onclick="admin_cms_comment.next_page(<?php echo $paginator['total']; ?>); <?php if (isset($related)) :?>return admin_cms_comment.act_filter_related('filter_related_list');<?php else :?>return false;<?php endif; ?>">Tiếp theo</a></li>
            <li><a onclick="admin_cms_comment.last_page(<?php echo $paginator['total']; ?>); <?php if (isset($related)) :?>return admin_cms_comment.act_filter_related('filter_related_list');<?php else :?>return false;<?php endif; ?>">Cuối</a></li>
        </ul>
    </div>
    <?php if (!isset($related)) :?>
    <div class="bulk_action" style="float: right">
        <select name="bulk_action" class="sl_bulk_action" onchange="return admin_cms_comment.do_bulk_action(this);">
            <option value="-1">--Xử lý tin bài--</option>
            <?php foreach ($bas as $label => $action) :?>
            <option value="<?php echo site_url($action, true); ?>"><?php echo $label; ?></option>
            <?php endforeach; ?>
        </select>
    </div>
    <?php endif; ?>
</div>